﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShopayServer.Http;

namespace ShopayServer.Controller
{
    public class Api: Base
    {
        public static Response Index(Request request, Response response)
        {
            return Message(response, "ok");
        }

        public static Response Close(Request request, Response response)
        {
            System.Diagnostics.Process.GetCurrentProcess().Kill();

            return Message(response, "ok");
        }
    }
}
